import './App.css';
import { Route, Switch} from 'react-router-dom'

import Login from './pages/login/index.jsx'
import Admin from './pages/admin/index.jsx'

function App() {
  return (
    <div class="App">
        <Switch>
          <Route path='/login' component={Login}></Route>
          <Route path='/' component={Admin}></Route>
        </Switch>
    </div>
  );
}
export default App;
